-- these two handlers are called by the behaviour "rollers-sprites", for the exterior obj movie rollovers. Each sprite, on mouseEnter, calls the "change" handler in this script, passing in a number (in the form of a string) to this handler, who then converts it to the appropriate cast number. When the other behaviour gets the "on mouseLeave me" event, it calls "reset" on this script.
on change me, theNum
set suffix = string(theNum)
set theName = root&suffix
set the member of sprite mySprite = member theName
end
on reset me
set the member of sprite mySprite = member myMember